package com.cong.security.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 安全配置<br>
 * ConfigurationProperties表明当前类会读取application.yml配置文件中以my.security开头的参数<br>
 *
 * @author single-聪
 */
@Data
@ConfigurationProperties(prefix = "my.security")
public class SecurityProperties {
    // 浏览器配置
    private BrowserProperties browser;
    // 验证码配置
    private ValidateCodeProperties code;
    // 三方登录配置
    private SocialProperties social;
    // oAuth2配置
    private OAuth2Properties oAuth2;
}